package com.itheima.health.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.health.pojo.Order;

import java.util.Map;

public interface OrderService extends IService<Order> {


    Order add(Map map) throws InterruptedException;

    Map selectOrderInfoByOrderId(Integer id);


    //报表数据 todoby dzf
    Integer getDayReservations();


    Integer getMonthReservations();


    Integer getWeekReservations();


    Integer getFinishDay();


    Integer getFinishWeek();


    Integer getFinishMonth();

    void updateByOrderId(Integer orderId);

    Integer findState(Integer id);
}
